package com.ooqiu.gaming.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;

import com.ooqiu.gaming.utils.LogUtil;
import com.tencent.smtt.sdk.QbSdk;

public class PreLoadX5Service extends Service implements QbSdk.PreInitCallback {
    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        initX5();
    }

    private void initX5() {
        QbSdk.initX5Environment(getApplicationContext(), this);
    }


    @Override
    public void onCoreInitFinished() {

    }

    @Override
    public void onViewInitFinished(boolean b) {

    }
}
